Page Switch to Different page For Particular section

 Hello Guys Once Again I am sharing You the real life tech hacks while coding, One of my clients in my company asked for Linking a page to somewhere and scroll that particular section based on ID and URL matching, But I got stuck badly in scrolling that page on load of browser window , i put code from somewhere that was doing half work it was able to forward to that page and move to that section but was Not scroll-able. Also That code made a Huge Trouble To the Owl carousal finally i got that solution hope this code will help you a lot I have commented one single comment to remove do check that also //Page Scroll from footer for different location

(function ($)
 
{
 
var jump = function (e) {
 
if (e) { e.preventDefault(); var target = $(this).attr("href"); }
 
else {
 
var target = location.hash;
 
}
 
$('html,body').animate({ scrollTop: $(target).offset().top+-160 }, 1000, function ()
 
{ location.hash = target; });
 
}              //Please remove this code this could create hacks for OWL carsoul--> $('html, body').hide(); // $(document).ready(function ()
 
{
 
 $('a[href^=#]').bind("click", jump);
 
  if (location.hash)
 
{
 
   setTimeout(function () { $('html, body').scrollTop(0).show() jump(); }, 0);
 
}
 
else {
 
$('html, body').show(); } }); })(jQuery)
 
Do share Your views To Clarify what have You learn from above one. How Window URL on load is scrolling..... Let check You can Let me Know Better ......

0   0
Ajeet Kumar Yadav
profile kittu 15th March 2025

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info.    [url=https://univers-citeenspectacle.com/]login olxtoto[/url]

Write a comment ...
Post comment
Cancel
profile kittu 15th March 2025

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info.    [url=https://univers-citeenspectacle.com/]login olxtoto[/url]

Write a comment ...
Post comment
Cancel
profile kittu 15th March 2025

When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your.    [url=https://univers-citeenspectacle.com/]olxtoto[/url]

Write a comment ...
Post comment
Cancel
profile kittu 13th March 2025

Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign.

[url=https://www.mylifeasafoodie.com/]keluaran macau[/url]

Write a comment ...
Post comment
Cancel
profile Nimra 13th March 2025

I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.비대면 대출 사이트

Write a comment ...
Post comment
Cancel
profile aliumair 8th March 2025

Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing?대출사이트

Write a comment ...
Post comment
Cancel
profile jack 6th March 2025

Double your bets with 1xBet! Use promo code 1X200BOX for a 100% bonus up to €100. New players enjoy free sports bets and exclusive casino bonuses in 2025. Sign up today! 1xbet promo code casino

Write a comment ...
Post comment
Cancel
profile aliumair 2nd March 2025

Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though.홍대호빠

Nimra
06-03-2025 00:00

Hi there! Nice post! Please tell us when I will see a follow up! <a href="https://passionpredict.com/">best prediction site</a>

Write a comment ...
Post comment
Cancel
profile Nimra 2nd March 2025

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.เว็บคาสิโน

Write a comment ...
Post comment
Cancel
profile SHANU 1st March 2025

Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. koitoto

Write a comment ...
Post comment
Cancel
profile SHANU 1st March 2025

Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. slot thailand Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. live hk 

Write a comment ...
Post comment
Cancel
profile SHANU 1st March 2025

Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. dana slot 777 Thanks for your insight for your fantastic posting. I’m exhilarated I have taken the time to see this. It is not enough; I will visit your site every day. situs slot 

Write a comment ...
Post comment
Cancel
profile jack 27th February 2025

This is the type of information I’ve long been trying to find. Thank you for writing this information. 롤대리

Write a comment ...
Post comment
Cancel
profile SHANU 26th February 2025

Thanks a lot for sharing this excellent info! I am looking forward to seeing more posts by you as soon as possible! I have judged that you do not compromise on quality. bonus scatter hitam

Write a comment ...
Post comment
Cancel
profile SHANU 26th February 2025

Thanks a lot for sharing this excellent info! I am looking forward to seeing more posts by you as soon as possible! I have judged that you do not compromise on quality. olxtoto togel Thanks a lot for sharing this excellent info! I am looking forward to seeing more posts by you as soon as possible! I have judged that you do not compromise on quality. olxtoto resmi 

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site